package com.security.jwt.jwtserver.dao;

import com.security.jwt.jwtserver.entity.dos.Permission;
import com.security.jwt.jwtserver.entity.dos.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * created by wuquan at 05/20/2021
 * ^_^ ^_^
 */
@Mapper
public interface PermissionMapper extends CustomMapper<Permission> {


    List<Permission> selectPermissions(@Param("userId") Integer userId);

}
